s='HELLOWORLD'
print(s[0],s[-10])
print('西安欢迎你'[4])
print('西安欢迎你'[-1])
print('--------------------------')
print(s[2:7])
print(s[-8:-3])
print(s[:5])
print(s[5:])



